package scau.redi.social_platform.service;

import scau.redi.social_platform.domain.pojo.Shared;
import scau.redi.social_platform.domain.pojo.SharedComment;

import java.util.List;

/**
 * @Author: Redi
 * @Date: 2022/5/13 10:43
 * @Description:
 */
public interface SharedCommentService {

    int createSharedComment(SharedComment sharedComment);

    int deleteByPrimaryKeyAndUserId(int commentId, int userId);

    List<SharedComment> findFatherCommentBySharedId(int sharedId);

    SharedComment findById(int commentId);

}
